package com.qf.flinketl.flinkconfig;

public enum ProxyType {
  USER_SERVICE(1),
  USER_SERVICE_2(2),
  USER_SERVICE_3(3);

  private final int value;

  ProxyType(int value) {
    this.value = value;
  }

  int getValue() {
    return this.value;
  }

  public static ProxyType valueOf(int value) {
    switch (value) {
      case 1:
        return USER_SERVICE;
      case 2:
        return USER_SERVICE_2;
      case 3:
        return USER_SERVICE_3;
      default:
        return null;
    }
  }
}
